MCPcopy
hub / github.com/webadderallorg/Recordly / formatCliNumber

Function formatCliNumber

electron/ipc/export/native-video.ts:1677–1681  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

1675}
1676
1677function formatCliNumber(value: number) {
1678 return Number.isInteger(value)
1679 ? String(value)
1680 : value.toFixed(6).replace(/0+$/, "").replace(/\.$/, "");
1681}
1682
1683function hasNativeStaticLayoutTimeline(options: NativeStaticLayoutExportOptions) {
1684 return (options.timelineSegments?.length ?? 0) > 0;

Calls

no outgoing calls

Tested by

no test coverage detected