Link to home
Start Free TrialLog in
Avatar of cool_sathish_333
cool_sathish_333Flag for India

asked on

Return value of function in vb6

How to substitiute with "simpleint=(p*n*r)/100" with something like "return simpleinterest", where  simpleinterest is declared as single in the function?
public function simpleint(p as single, n as single, r as single) as single
simpleint=(p*n*r)/100
end function

Open in new window

SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

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
ASKER CERTIFIED SOLUTION
Avatar of Robin Uijt
Robin Uijt
Flag of Netherlands image

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
Avatar of cool_sathish_333

ASKER

Yeah, even I googled and found there was no alternative, but I posted the question just to acquire more information regarding that...

Thanks experts...
Thanks again