hi friends!
I'm new to vbasic. I just want to know, how to set the precision for variables defined as double. plz send me the syntax
Thanks in advance.
bye
elanch
elanch
0
Newbie Poster
Recommended Answers
Jump to PostHi,
u cant set the presicion for a Double, u have to use either "Format" or "Round"
Dim DblVarr As Double Text1.Text = Format(DblVarr,"0.00") Or Text1.Text = Round (DblVarr,2)
Regards
Veena
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.