- support:
- array:
- sentence_connector: "og"
- words_connector: ", "
- two_words_connector: " og "
- last_word_connector: " og "
- skip_last_comma: true
+ number:
+ # Used in number_with_delimiter()
+ # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
+ format:
+ # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
+ separator: ","
+ # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
+ delimiter: "."
+ # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
+ precision: 2
+
+ # Used in number_to_currency()
+ currency:
+ format:
+ # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
+ format: "%u %n"
+ unit: "kr."
+ # These three are to override number.format and are optional
+ #separator: ","
+ #delimiter: "."
+ #precision: 2
+
+ # Used in number_to_human_size()
+ human:
+ format:
+ # These three are to override number.format and are optional
+ # separator:
+ delimiter: ""
+ precision: 1
+ storage_units:
+ # Storage units output formatting.
+ # %u is the storage unit, %n is the number (default: 2 MB)
+ format: "%n %u"
+ units:
+ byte:
+ one: "bæti"
+ other: "bæti"
+ kb: "KB"
+ mb: "MB"
+ gb: "GB"
+ tb: "TB"