Changes between Version 2 and Version 3 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/FormatWt
- Timestamp:
- 12/15/21 10:18:50 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/FormatWt
v2 v3 22 22 == Remarks == 23 23 24 This will format the provided weight value 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". The value returned is from an internal memory buffer from the last MnBdRead that received a weight for the specified scale. An application program should be structured properly for this data to be updated when needed.24 This will format the provided weight value into appropriate divisions and add zeros for zero weight if necessary based on the interval. For example, if an interval of 20 lb is specified and the weight is zero the output will be " 00". 25 25 26 For USA applications the interval should be a multiple of 1, 2, or 5. For example the interval may be 1, 2, 5, 10, 20, or 50. If the interval is multiple digits such as 10 the decimal place parameter must be zero. 26 For USA applications the interval should be a multiple of 1, 2, or 5. For example the interval may be 1, 2, 5, 10, 20, or 50. (Other jurisdictions may not have this as a legal requirement, but other interval values may result in unusual weight incrementing behavior). 27 28 If the interval is multiple digits such as 10 the decimal place parameter must be zero. 27 29 28 30 == Examples ==