Skip to Content
0
Former Member
Dec 28, 2007 at 06:31 AM

how do i allow my percentage to have a decimal place?

19 Views

Hi all,

currently i need to do a total count value for my record for jus a particular field. and make it to a percentage for user to see. but how do i cater it in a way where my percentage other than showing a whole number out it can also show it decimal place? An etc of my scenario is listed below:

Male -> 102 count = 64.56%

Female -> 50 count = 33.44%

May i know what is the code for that? thx.