DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby division floating decimal
9.to_f / 5 #=> 1.8 9 / 5.to_f #=> 1.8
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#ruby
#division
#floating
#decimal
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit