apoc.number.exact.toFloat
Syntax |
|
||
Description |
Returns the |
||
Arguments |
Name |
Type |
Description |
|
|
A large number represented as a string. |
|
|
|
The rounding precision. The default is: |
|
|
|
A precision rounding mode ( |
|
Returns |
|
Usage Examples
RETURN apoc.number.exact.toFloat('50423.1656', 10) as output;
output |
---|
50423.1656 |
RETURN apoc.number.exact.toFloat('50423.1656', 3) as output;
output |
---|
50400.0 |
RETURN apoc.number.exact.toFloat('50423.1656', 5, "CEILING") as output;
output |
---|
50424.0 |
RETURN apoc.number.exact.toFloat('50423.1656', 5, "FLOOR") as output;
output |
---|
50423.0 |