DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby 2 decimal
sprintf('%.2f', 53) # => "53.00"
PREVIOUS
NEXT
Tagged:
#ruby
#decimal
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit