Creates BigDecimal number from Float.
import { decimals } from "@protofire/subgraph-devkit";decimals.fromFloat(1000000.123);
the BigDecimal representation of the Float.
the Float number.
Generated using TypeDoc
Creates BigDecimal number from Float.
Example
Returns
the BigDecimal representation of the Float.