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: 321
  • Last Modified:

round() in VB4 ?

Is there a function in VB4 like Pascal's round() function ?
0
frey
Asked:
frey
1 Solution
 
TrygveCommented:
If you rise the points I can give you a function that will do this for you.
0
 
PedroMVGomesCommented:
these is so little points...but this site is about helping each other so there it goes.

There is no such function, but you can use this

Function Round(byval Num as Double)as Long
   
   Round=int(Num+0.5)

End Function
0
 
freyAuthor Commented:
Adjusted points to 20
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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