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 11

calculateSplitLayoutFunction · 0.90
calculateItemConstraintsFunction · 0.90
layoutNumbersEqualFunction · 0.90
validateItemSizeFunction · 0.90
notifyItemOnResizeFunction · 0.90
computeLayoutFunction · 0.90
getImperativeItemMethodsFunction · 0.90
preserveFixedItemSizesFunction · 0.90
calculateDefaultLayoutFunction · 0.90
getExpandedItemSizeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected