Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/FormatGrossWt


Ignore:
Timestamp:
08/20/10 10:05:46 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/FormatGrossWt

    v3 v4  
    33
    44{{{
    5 string FormatGrossWt(int nScale = process_scale, int len = 7);
     5string FormatGrossWt(int nScale, int nLen = 7);
    66
    7 char* FormatGrossWt(int nScale = process_scale, char* pszBuffer, int len = 7);
     7char* FormatGrossWt(int nScale, char* pszBuffer, int nLen = 7);
    88}}}
    99
     
    1111
    1212 * nScale - scale number
    13  * len - length to format the string, spaces will be padded to the left.
     13 * nLen - length to format the string, spaces will be padded to the left.
    1414
    1515== Return Value ==
     
    1919== Remarks ==
    2020
     21This 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".
     22
    2123== Examples ==
    2224
    2325{{{
     26string strWt = FormatGrossWt(1);
     27DisplayText(0, 0, strWt);
    2428}}}
    2529
    2630{{{
     31char szWt[20];
     32FormatGossWt(1, szWt);
     33DisplayText(0, 0, szWt);
    2734}}}
    2835
    2936== See Also ==
    3037
    31  * GetGrossWt
    3238 * FormatTareWt
     39 * FormatNetWt
     40 * FormatWt
     41