Results 1 to 6 of 6

Thread: [RESOLVED] need help about round off

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2013
    Posts
    328

    Resolved [RESOLVED] need help about round off

    i need help about round off.

    for example. 123.4567 and the result that im looking for is 123.45.

    i need it to be round off in 4rt decimal place

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: need help about round off

    Where?
    Crystal, Access or Data Report?
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2013
    Posts
    328

    Re: need help about round off

    Quote Originally Posted by jggtz View Post
    Where?
    Crystal, Access or Data Report?
    Crystal report sir.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: need help about round off

    In Crystal Reports ide
    Right click over numeric field
    A popup menu is displayed with several options
    Left click over 'Format Field'
    A Format Editor window is displayed
    Select Number tab
    Left click over 'Customize' button
    A Custom Style window is displayed
    Select desired 'Decimals'
    Select desired 'Rounding'
    Click over OK
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2013
    Posts
    328

    Re: need help about round off

    Quote Originally Posted by jggtz View Post
    In Crystal Reports ide
    Right click over numeric field
    A popup menu is displayed with several options
    Left click over 'Format Field'
    A Format Editor window is displayed
    Select Number tab
    Left click over 'Customize' button
    A Custom Style window is displayed
    Select desired 'Decimals'
    Select desired 'Rounding'
    Click over OK


    i've try this. but it doesn't work, still rounding off.

  6. #6
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: need help about round off

    Then You'll need to insert a formula field and write the next code
    (change for your real field name)

    Code:
        TRUNCATE ({NumericFieldName},2)
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width