Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.8.0-RC
common
switch theme
search in API
kotlinx-serialization-core
/
kotlinx.serialization.encoding
/
Encoder
/
encodeDouble
encode
Double
abstract
fun
encodeDouble
(
value
:
Double
)
(
source
)
Encodes a 64-bit IEEE 754 floating point value. Corresponding kind is
PrimitiveKind.DOUBLE
.