メインコンテンツへスキップ

検索

検索

Using Round() Instead Of Decimal()

コメント

2件のコメント

  • Avatar
    Ian Cummings
    モデレータ
    If you want a number formatted to two decimal places they you should use a VB script to accomplish this.

    With a number of some sort in the data source click on the "More Options" button, select the "VB Scripting" tab and then edit the "OnProcessData" event script with something like the below.

    [code]value = FormatNumber(value,2)[/code]
    -1
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1323710194' post='1298']
    If you want a number formatted to two decimal places they you should use a VB script to accomplish this.

    With a number of some sort in the data source click on the "More Options" button, select the "VB Scripting" tab and then edit the "OnProcessData" event script with something like the below.

    [code]value = FormatNumber(value,2)[/code]
    [/quote]
    Ian thanks a lot. Its working by replacing round() with FormatNumber()
    0

サインインしてコメントを残してください。