NBT-Manipulator

A kotlin/java lib that allows you to read and write NBT data in a clean way

View on GitHub

//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtDouble/NbtDouble

NbtDouble

[jvm]
fun NbtDouble(signed: String)

Parses the string value as a signed double and wraps it.

Parameters

jvm

   
signed Signed value from 4.9e-324 to 1.7976931348623157e+308. NaN and Infinity are also accepted.

Throws

   
kotlin.NumberFormatException if the number is not within a valid range or if the string does not contain a valid number.

[jvm]
fun NbtDouble(value: Double)