MCPcopy Create free account
hub / github.com/bvaughn/react-resizable-panels / formatLayoutNumber

Function formatLayoutNumber

lib/global/utils/formatLayoutNumber.ts:1–3  ·  view source on GitHub ↗
(number: number)

Source from the content-addressed store, hash-verified

1export function formatLayoutNumber(number: number) {
2 return parseFloat(number.toFixed(3));
3}

Callers 9

layoutNumbersEqualFunction · 0.90
validatePanelSizeFunction · 0.90
notifyPanelOnResizeFunction · 0.90
preserveFixedPanelSizesFunction · 0.90
calculateDefaultLayoutFunction · 0.90
computeLayoutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected