struct Rosetta::LocalizedNumber
- Rosetta::LocalizedNumber
- Struct
- Value
- Object
Overview
LocalizedNumber is similar to a Translation object; it implements a similar interface but its sole purpose is to localize numeric objects.
Defined in:
rosetta/localization.crConstructors
Instance Method Summary
Constructor Detail
def self.new(separator : String | Char, delimiter : String | Char, decimal_places : Int32, group : Int32, only_significant : Bool)
#
Instance Method Detail
def l(number : Number, separator : String | Char = @separator, delimiter : String | Char = @delimiter, decimal_places : Int32 = @decimal_places, group : Int32 = @group, only_significant : Bool = @only_significant)
#