Japanese Yen (JPY): 0 decimal places
- ISO 4217 exponent
- 0
- Minor units per unit
- 1
- Intl display digits
- 0
- Symbol (en-US)
- ¥
JPY 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 | 1235 | 1,235 | 1,235 Japanese Yen |
| Negative | -1235 | (1,235) | negative 1,235 Japanese Yen |
| Zero | 0 | 0 | 0 Japanese Yen |
| Unknown (null) | null | — | not available |
Typing JPY
What a person types, and the integer it is stored as at JPY's exponent. Rounded once, at the end.
| Typed | Stored as |
|---|---|
| 1,234.56 | 1235 |
| (1,234.56) | -1235 |
| 1.2k | 1200 |
| =1200+340*2 | 1880 |
JPY has no fraction, so 1,234.56 is rounded to the nearest whole JPY when it is read.
Split without losing a minor unit
100 JPY 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.
- 34
- 33
- 33
- = 100
On a check
One thousand two hundred thirty-five JPY only
The fraction is over 1 because JPY has 0 decimal places. Write any amount in words.
JPY 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,235 JPY, stored as the integer 1235
<Money accounting value={{ amount: 1235, currency: "JPY" }} />Work with it
Tools that read JPY at its own exponent.