Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

how to get .6 out of 4.6

thanks
0
turbot_yu
Asked:
turbot_yu
  • 2
  • 2
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
dim d as double
d = 4.6
d = d - cint(d)
0
 
turbot_yuAuthor Commented:
seems not right, cint() is giving the around value,
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
I checked that out also meanwhile, please use FIX() function instead:
dim d as double
d = 4.6
d = d - fix(d)
0
 
turbot_yuAuthor Commented:
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now