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

Method setSlug

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

Source from the content-addressed store, hash-verified

75 void setQuarterUK(float value = 0) { _w = value * 12700.58636; };
76 void setQuarterUS(float value = 0) { _w = value * 11339.80925; };
77 void setSlug(float value = 0) { _w = value * 14593.903; };
78 void setTroyPound(float value = 0) { _w = value * 373.2417216; };
79 void setTroyOunce(float value = 0) { _w = value * 31.1034768; };
80 void setRobie(float value = 0) { _w = value * 10; };

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64