adding decimal values

Results 1 to 2 of 2

Thread: adding decimal values

  1. #1
    Join Date
    Dec 1969

    Default adding decimal values

    How do I go about adding these values:<BR>misc = 0<BR>lifec=75.657<BR>deathins = 0<BR>cashsaved = 45<BR>managed = 34.345<BR><BR>I tried:<BR>Assets = (cint(misc)+ cint(lifec)+cint(deathins)<BR>+cint(cashsaved)+cin t(managed))<BR>and I tried cdec but I get errors every time. Also, how would i round off the answer?<BR>Cheers!

  2. #2
    Join Date
    Dec 1969

    Default RE: adding decimal values

    Well you don&#039;t try to convert decimals to integers for a start.<BR><BR>Go and look up your datatypes and what they mean and store and you will then be able to resolve this yourself

Posting Permissions

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