Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
export
function
formatLayoutNumber(number: number) {
2
return
parseFloat(number.toFixed(3));
3
}
Callers
11
calculateSplitLayout
Function · 0.90
calculateItemConstraints
Function · 0.90
layoutNumbersEqual
Function · 0.90
validateItemSize
Function · 0.90
notifyItemOnResize
Function · 0.90
computeLayout
Function · 0.90
getImperativeItemMethods
Function · 0.90
preserveFixedItemSizes
Function · 0.90
calculateDefaultLayout
Function · 0.90
getExpandedItemSize
Function · 0.90
formatLayoutNumber.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected