Formatting
Common formatting used in Everreal
Country Code Formatting
ISO 3166 is the international standard for country codes and the codes of their subdivisions. The standard is intended for use in any application requiring the expression of current country names in coded form. An alpha-2 code is a two-letter code that represents a country name.
Following are some of the eg and make sure ISO is passed when country is used.
Germany
DE
Austria
AT
Swiss
CH
France
FR
Currency Formatting
ISO 4217 is the international standard for currency codes. It includes a three-letter alphabetic code for each currency. For example, USD is the code for US dollars, EUR is the code for Euros, and GBP is the code for British Pounds.
Date Formatting
ISO 8601 specifies numeric representations of date and time. This standard notation helps to avoid confusion in international communication caused by the many different national notations and increases the portability of computer user interfaces.
The international standard date notation is
YYYY-MM-DD
where YYYY is the year in the usual Gregorian calendar, MM is the month of the year between 01 (January) and 12 (December), and DD is the day of the month between 01 and 31.
For example, the fourth day of February in the year 1995 is written in the standard notation as
1995-02-04
Decimals
A decimal is a way of writing a number that is not whole. A decimal has two parts: a whole number part and a fractional part. The fractional part is written with a decimal point and one or more digits after it.
For example, 3.14 is a decimal number with a whole number part of 3 and a fractional part of 0.14. Decimals can be used to represent fractions, percentages, measurements, and more.
Last updated