percentage
- From: anthony <mrmclarge@xxxxxxxxxxx>
- Date: Thu, 21 Jul 2005 14:41:56 +1200
how do I code a little problem
I want to subtract say 2.5 percent off a number
I am not sure how to do the percentage part
I was trying to just take a certain amount of a number, for example I want to take 21000 of 2105302 ok that works well untill the number gets a lot higher, so I figure if can work out the percentage of the ubove number, which is 1.04 percent to be close enough. I could use a percentage rather than a fixed number.
The reason the numbers are so big, they are the mediaplayers position in an audio file,
Any help please
Anthony .
- Follow-Ups:
- Re: percentage
- From: Heinrich Wolf
- Re: percentage
- From: alanglloyd
- Re: percentage
- Prev by Date: Re: Execute Stream?
- Next by Date: Re: percentage
- Previous by thread: http authentication
- Next by thread: Re: percentage
- Index(es):
Relevant Pages
|