Link to home
Start Free TrialLog in
Avatar of chuang4630
chuang4630

asked on

Anyone knows how to convert the the Double into percentage when using doubleNumber.ToString(...formula...)?

Anyone knows how to convert the the Double into percentage when using doubleNumber.ToString(...formula...)?
Basically, what's the formula?
Avatar of cookre
cookre
Flag of United States of America image

What percentage of A is B?

pct=100*B/A

Avatar of chuang4630
chuang4630

ASKER

I have found the answer. The format is "P".
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial