Results 1 to 2 of 2

Thread: Calculated Field

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276

    Thumbs down

    I'm trying to use a calculated field (Net), the results being based on 3 other fields, namely Gross, Commission and Tax

    I've added the following too my query: -

    ROUND(([GrossPrice]+[Tax]-((([GrossPrice]+[Tax])/100)*[Commission])),2) AS Net

    which works wonderfully, but for one thing...

    the round part of the statement and the 2 at the end rounds (obviously) the result down to 2 decimal places, so i dont end up looking at spurious anounts of decimal places

    what i want to do now is force Net to have 2 decimal places, so £123 would be £123.00. the problem is I haven't got a clue how to do this. do any of you clever bods out there know?

  2. #2

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