Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Talk to us

Japanese Yen (JPY): 0 decimal places

Japanese Yen (JPY) has no minor unit, so 0 decimal places: amounts are stored as integers of whole JPY.ISO 4217 exponent 0 · 1 minor units per unit · Intl digits 0 · Symbol ¥

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.

ValueStored (minor units)StatementMoney component
Positive12351,2351,235 Japanese Yen
Negative-1235(1,235)negative 1,235 Japanese Yen
Zero000 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.

TypedStored as
1,234.561235
(1,234.56)-1235
1.2k1200
=1200+340*21880

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.

tsx
import { Money } from "@/components/ledger/money";

// 1,235 JPY, stored as the integer 1235
<Money accounting value={{ amount: 1235, currency: "JPY" }} />

Also stored at 0 decimal places

Work with it

Tools that read JPY at its own exponent.