MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / scientific_notation

Function scientific_notation

nodedb/src/engine/timeseries/ilp.rs:315–318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313
314 #[test]
315 fn scientific_notation() {
316 let line = parse_line("sensor reading=1.5e10 1000").unwrap();
317 assert_eq!(line.fields[0].1, FieldValue::Float(1.5e10));
318 }
319}

Callers

nothing calls this directly

Calls 1

parse_lineFunction · 0.85

Tested by

no test coverage detected