Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Constructor

.ctor

init(Amount: decimal, Currency: Currency) -> void

Declaring type: Money
Module: System.Globalization
Assembly: System.Runtime.dll
Source file: Money.rvn

A monetary value with explicit currency identity and unchanged Decimal precision. Record equality, hashing and positional deconstruction include both components. The default value is zero in Currency.Unspecified; construction never rounds or converts.

Parameters

Name Type Description
Amount Decimal
Currency Currency