MCPcopy 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
76fn parse_float(s: &str) -> f64 {
77 s.parse().unwrap_or(0.0)
78}
79
80fn parse_u32(s: &str) -> u32 {
81 s.parse().unwrap_or(0)

Callers 2

parse_round_rect_argsFunction · 0.85
execute_commandsFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected