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

Idiom #79 Convert integer to floating point number

Declare floating point number y and initialize it with the value of integer x .

#Edit dateEdit SummaryEditor
👁 Δ 35 2018-11-20, 20:26 Admin deletes impl 2459 programming-idioms.org
👁 Δ 34 2018-11-20, 20:26 [Ruby] Bump doc version programming-idioms.org
👁 Δ 33 2018-11-14, 10:39 New Ruby implementation by user [noob642] noob642
👁 Δ 32 2018-06-24, 09:48 [C] Comments emphasis x programming-idioms.org
👁 Δ 31 2018-04-03, 22:28 [Lua] Typo in comments programming-idioms.org
👁 Δ 30 2018-04-03, 08:40 [Lua] Preview wasn't correct :( Kng
👁 Δ 29 2018-04-03, 08:39 New Lua implementation by user [Kng] Kng
👁 Δ 28 2018-03-02, 17:01 [C] Wrong language from previous edit. VermilionWizard
👁 Δ 27 2018-03-02, 17:00 [C] Enhance explanation to include cases where explicit cast is necessary. VermilionWizard
👁 Δ 26 2017-05-27, 19:58 [C] "_(float)" doesn't emphasize "(float)" Dodopod
👁 Δ 25 2017-05-27, 19:54 New C implementation by user [Dodopod] Dodopod
👁 Δ 24 2016-11-30, 22:40 [Elixir] +DemoURL programming-idioms.org
👁 Δ 23 2016-10-26, 12:14 [Pascal] x is granted programming-idioms.org
👁 Δ 22 2016-09-14, 08:30 [PHP] cast to float programming-idioms.org
👁 Δ 21 2016-03-28, 14:10 [PHP] cast to float
👁 Δ 20 2016-03-28, 12:38 New PHP implementation by user [AgillaDev]
👁 Δ 19 2016-02-18, 16:58 New Java implementation by user [lbayer]
👁 Δ 18 2016-02-17, 03:00 New Java implementation by user [lbayer]
👁 Δ 17 2016-02-17, 02:58 [Perl] Accidentally entered the java implementation
👁 Δ 16 2016-02-17, 02:57 New Perl implementation by user [lbayer]
👁 Δ 15 2016-02-16, 18:52 New Csharp implementation by user [bdadams]
👁 Δ 14 2015-11-30, 12:37
👁 Δ 13 2015-10-31, 15:07
👁 Δ 12 2015-10-29, 14:05
👁 Δ 11 2015-10-18, 13:16
👁 Δ 10 2015-09-17, 05:58
👁 Δ 9 2015-09-05, 16:43
👁 Δ 8 2015-09-03, 21:10
👁 Δ 7 2015-09-03, 16:06
👁 Δ 6 2015-09-03, 11:46
👁 Δ 5 2015-09-02, 22:47
👁 Δ 4 2015-09-01, 21:32
👁 Δ 3 2015-09-01, 21:21
👁 Δ 2 2015-09-01, 21:13
1 2015-09-01, 21:11