MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getKilogram

Method getKilogram

libraries/weight/weight.h:88–88  ·  view source on GitHub ↗

GETTERS

Source from the content-addressed store, hash-verified

86
87 // GETTERS
88 float getKilogram() { return _w * 0.001; }
89 float getGram() { return _w; }
90 float getLBS() { return _w * 0.00220462262185; }
91 float getStone() { return _w * 0.000157473044418;}

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64