Skip to content

Latest commit

 

History

History

kairo-money

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

kairo-money

The Money type is provided by JSR-354.

Usage

Step 1: Include the dependency

// build.gradle.kts

dependencies {
  implementation("kairo:kairo-money:$kairoVersion")
}

Step 2: Use the money type

// src/main/kotlin/yourPackage/.../YourFile.kt

val amount = Money.of(123.45, "USD")