= ZeroScale = Sets the specified scale to zero weight {{{ int ZeroScale(int nScale = process_scale); }}} == Parameters == * nScale - scale number to zero == Return Value == * Returns the value indicating result OK is successful, other it may failed to to motion or weight being outside of zero range. Use MnBdGetErrMsg to obtain reason. == Remarks == This will format the raw gross weight into appropriate divisions and add zeros for zero weight if necessary based on the interval. For example, for interval of 20 lb is specified and the weight is zero the output will be " 00". == Examples == {{{ if(ZeroScale(1) != OK) { DisplayText(0, 0, "Error setting zero"); } }}} == See Also == * [wiki:MnBdGetErrMsgStr MnBdGetErrMsgStr] * [wiki:SetTareCurrent SetTareCurrent] * [wiki:SetTareValue TareValue]