MCPcopy Create free account
hub / github.com/questdb/questdb / ofDigitsAndPower

Method ofDigitsAndPower

core/src/main/java/io/questdb/std/Decimal.java:120–120  ·  view source on GitHub ↗

Sets this decimal to digits 10^power. When power >= 0, the value is digits 10^power with scale 0. When power < 0, the value is digits with scale -power. @param digits the significant digits @param power the base-10 exponent

(long digits, int power)

Source from the content-addressed store, hash-verified

118 * @param power the base-10 exponent
119 */
120 void ofDigitsAndPower(long digits, int power);
121
122 /**
123 * Sets this decimal to the null value.

Callers 1

doubleToDecimalMethod · 0.95

Implementers 3

Decimal128core/src/main/java/io/questdb/std/Deci
Decimal256core/src/main/java/io/questdb/std/Deci
Decimal64core/src/main/java/io/questdb/std/Deci

Calls

no outgoing calls

Tested by

no test coverage detected