percentage



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
.



Relevant Pages

  • Re: VB.net Memory usage 20k app, 15MB memory?
    ... There where a lot of questions about that, the answer is simple no. Untill ... > to the task manager... ... > to reduce this amount? ... There should be no reason for it to think it needs ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Visinopril and Coughing
    ... longer i was on it untill my bruised lungs decided to give up on me ... I was also wondering if I need to be patient and wait longer with the ... meds... ... Did anyone find their cough disappeared after x amount of time? ...
    (alt.support.diabetes)
  • Best software for audio stretching?
    ... What have people found to be the best software for changing the duration of an audio file with the least amount of resulting artifacts? ...
    (rec.audio.pro)
  • Re: Help? The colors of my Irish Chain?
    ... That, Anthony, is a wonderful idea! ... that I never considered doing it in the reverse but it sure would ... minimize the amount of white I would have to deal with getting grungy ...
    (rec.crafts.textiles.quilting)