Ed
asked on
Round up decimal VB
How can I round up a decimal in VB
Eg
Label1.Text = (APR ^ 12 - 1)
Shows
9.59793002987339
I'd like to show this as
9.6%
Eg
Label1.Text = (APR ^ 12 - 1)
Shows
9.59793002987339
I'd like to show this as
9.6%
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sorry, me being a tool.
Label1.Text = Math.Round(FinalAPR, 1)
That answer was correct, works now.
Label1.Text = Math.Round(FinalAPR, 1)
That answer was correct, works now.
ASKER
perfect
ASKER
but
Label1.Text = Math.Round((APR ^ 12 - 1), 1)
gives the result of 0.1