public final class LazyNumber extends Number
| Constructor and Description |
|---|
LazyNumber(String value) |
| Modifier and Type | Method and Description |
|---|---|
double |
doubleValue()
Returns the value of the specified number as a
double. |
float |
floatValue()
Returns the value of the specified number as a
float. |
int |
intValue()
Returns the value of the specified number as an
int. |
long |
longValue()
Returns the value of the specified number as a
long. |
String |
toString() |
byteValue, shortValuepublic LazyNumber(String value)
public int intValue()
int.
This may involve rounding or truncation.public long longValue()
long.
This may involve rounding or truncation.public float floatValue()
float.
This may involve rounding.floatValue in class Numberfloat.public double doubleValue()
double.
This may involve rounding.doubleValue in class Numberdouble.Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.