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
9
calculatePanelConstraints
Function · 0.90
layoutNumbersEqual
Function · 0.90
validatePanelSize
Function · 0.90
notifyPanelOnResize
Function · 0.90
preserveFixedPanelSizes
Function · 0.90
calculateDefaultLayout
Function · 0.90
computeLayout
Function · 0.90
getImperativePanelMethods
Function · 0.90
formatLayoutNumber.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected