MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / decimalMaxString

Function decimalMaxString

packages/ibkr/src/utils.ts:147–150  ·  view source on GitHub ↗
(val: Decimal)

Source from the content-addressed store, hash-verified

145}
146
147export function decimalMaxString(val: Decimal): string {
148 if (val.equals(UNSET_DECIMAL)) return ''
149 return val.toFixed()
150}
151
152export function isAsciiPrintable(val: string): boolean {
153 for (let i = 0; i < val.length; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected