Uruguayan Nominal Wage Index Unit (UYW): 4 decimal places
- ISO 4217 exponent
- 4
- Minor units per unit
- 10,000
- Intl display digits
- 4
- Symbol (en-US)
- UYW
UYW in a statement
The same integer in every state a statement can be in. Null is not zero: unknown renders as a dash, never as a zero amount.
| Value | Stored (minor units) | Statement | Money component |
|---|---|---|---|
| Positive | 12345600 | 1,234.5600 | 1,234 Uruguayan Nominal Wage Index Unit and 5600 minor units |
| Negative | -12345600 | (1,234.5600) | negative 1,234 Uruguayan Nominal Wage Index Unit and 5600 minor units |
| Zero | 0 | 0.0000 | 0 Uruguayan Nominal Wage Index Unit |
| Unknown (null) | null | — | not available |
Typing UYW
What a person types, and the integer it is stored as at UYW's exponent. Rounded once, at the end.
| Typed | Stored as |
|---|---|
| 1,234.56 | 12345600 |
| (1,234.56) | -12345600 |
| 1.2k | 12000000 |
| =1200+340*2 | 18800000 |
Split without losing a minor unit
100.0000 UYW split three ways. Rounding each third leaves a remainder; largest-remainder allocation hands it out one minor unit at a time, so the parts always sum to the whole.
- 33.3334
- 33.3333
- 33.3333
- = 100.0000
On a check
One thousand two hundred thirty-four UYW and 5600/10000 only
The fraction is over 10,000 because UYW has 4 decimal places. Write any amount in words.
UYW in React
The component reads the exponent from the currency code; you pass the integer and the code, never a float and never a decimal count.
import { Money } from "@/components/ledger/money";
// 1,234.5600 UYW, stored as the integer 12345600
<Money accounting value={{ amount: 12345600, currency: "UYW" }} />Work with it
Tools that read UYW at its own exponent.