Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/echosoar/canvas-cli
/ parse_float
Function
parse_float
cli/src/main.rs:76–78 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
74
}
75
76
fn parse_float(s: &str) -> f64 {
77
s.parse().unwrap_or(0.0)
78
}
79
80
fn parse_u32(s: &str) -> u32 {
81
s.parse().unwrap_or(0)
Callers
2
parse_round_rect_args
Function · 0.85
execute_commands
Function · 0.85
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected