Search
 
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
Name
8+9 =