This language bar is your friend. Select your favorite languages!

Idiom #65 Format decimal number

From real value x in [0,1], create its percentage string representation s with one digit after decimal point. E.g. 0.15625 -> "15.6%"

#Edit dateEdit SummaryEditor
👁 Δ 27 2019-01-23, 19:18 New JS implementation by user [1.7.4] 1.7.4
👁 Δ 26 2018-06-24, 11:00 [Python] Variable name s programming-idioms.org
👁 Δ 25 2016-11-30, 21:26 [Elixir] +DemoURL programming-idioms.org
👁 Δ 24 2016-11-05, 02:46 New Lua implementation by user [Nepta] Nepta
👁 Δ 23 2016-08-23, 09:23 New Elixir implementation by user [barroco] barroco
👁 Δ 22 2016-05-28, 09:32 [Go] +DocURL programming-idioms.org
👁 Δ 21 2016-05-28, 09:31 [Go] Fixed type litteral programming-idioms.org
👁 Δ 20 2016-05-10, 13:32 +keyword programming-idioms.org
👁 Δ 19 2016-03-02, 13:29 New PHP implementation by user [agilla1]
👁 Δ 18 2016-02-18, 16:58
👁 Δ 17 2015-11-30, 12:37
👁 Δ 16 2015-10-31, 14:40
👁 Δ 15 2015-10-29, 14:05
👁 Δ 14 2015-09-05, 07:12
👁 Δ 13 2015-09-03, 16:23
👁 Δ 12 2015-08-23, 10:27
👁 Δ 11 2015-08-21, 23:32
👁 Δ 10 2015-08-21, 14:59
👁 Δ 9 2015-08-20, 15:47
👁 Δ 8 2015-08-20, 12:02
👁 Δ 7 2015-08-20, 11:02
👁 Δ 6 2015-08-18, 17:36
👁 Δ 5 2015-07-31, 20:20
👁 Δ 4 2015-05-06, 21:04
👁 Δ 3 2015-04-21, 22:59
👁 Δ 2 2015-04-21, 22:58
1 2015-04-21, 22:45