Set Format Decimals 3 In Print Mode

Discussion in 'Tally Developer' started by HAROON2015, Oct 20, 2019.

    
  1. HAROON2015

    HAROON2015 Member


    hi,
    i want to change decimal value in print mode
    tried this but not working

    Code:
    [#Field:DSP ClDrAmtA]
    style:normal bold
    Format : $$InPrintMode : "Decimals:3"
    
    [#Field:DSP ClCrAmtA]
    style:normal bold
    Format : $$InPrintMode : "Decimals:3"
    and this one also

    Code:
    [#Field:DSP ClDrAmtA]
    style:normal bold
    Format : ddxdxd
    
    [#Field:DSP ClCrAmtA]
    style:normal bold
    Format : ddxdxdx
    
    [System: Formulae]
    ddxdxd:if $$InPrintMode then Format : "Decimals:3" else Format : "Decimals:2"
    ddxdxdx:If $$InPrintMode then Format : "Decimals:3" else Format : "Decimals:2"

    hope some one will help

    thanks
     


  2. Ria

    Ria Member


    Code:
    [#Field:DSP ClDrAmtA]
    style:normal bold
    Format : @@ddxdxd
    
    [#Field:DSP ClCrAmtA]
    style:normal bold
    Format : @@ddxdxdx
    
    [System: Formulae]
    ddxdxd: if $$InPrintMode then "Decimals:3" else  "Decimals:2"
    ddxdxdx: If $$InPrintMode then "Decimals:3" else  "Decimals:2"
    Try this...
     
    HAROON2015 likes this.


  3. HAROON2015

    HAROON2015 Member


    thank you very very much
     


Share This Page