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

Method ofString

core/src/main/java/io/questdb/std/Decimal64.java:678–680  ·  view source on GitHub ↗

Parses a CharSequence decimal and store the result into the given Decimal256. @param cs is the CharSequence to be parsed @return the precision of the decimal

(CharSequence cs)

Source from the content-addressed store, hash-verified

676 * @return the precision of the decimal
677 */
678 public long ofString(CharSequence cs) throws NumericException {
679 return ofString(cs, -1, -1);
680 }
681
682 /**
683 * Parses a CharSequence decimal and store the result into the given Decimal256.

Calls 2

parseMethod · 0.95
lengthMethod · 0.65