Kotlin Multiplatform Library Template
Toggle table of contents
0.1.0-SNAPSHOT
common
jvm
Target filter
common
jvm
Switch theme
Search in API
Skip to content
Kotlin Multiplatform Library Template
lib
/
com.example.library
Package-level
declarations
Types
Functions
Types
Calculator
Link copied to clipboard
common
class
Calculator
A simple calculator class that provides basic arithmetic operations.
Functions
format
Result
Link copied to clipboard
jvm
fun
Calculator
.
formatResult
(
value
:
Double
,
decimals
:
Int
=
2
)
:
String