Skip to content

moneyToMajor

moneyToMajor(value, minorScale?): number

Defined in: packages/core/src/money.ts:70

Convert Money (integer minor units) back to a major-unit number — the canonical kuruş→lira converter.

Money

number = 2

number

import { moneyToMajor, TRY } from '@lonca/core';
moneyToMajor({ amount: 19990, currency: TRY }); // 199.9 (lira)

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.