Class: Float

Inherits:
Object
  • Object
show all
Defined in:
lib/extend_float.rb

Instance Method Summary collapse

Instance Method Details

#to_labelObject

Converts number to a string with a format like xx,xxx,xxx.xxxx



3
4
5
# File 'lib/extend_float.rb', line 3

def to_label()
  BlackStack::Number::Encoding::format_with_separator(self)
end