# Thread: [Visual Basic] WarPathSin's KDR Calculater Fully Converted!

1. ## [Visual Basic] WarPathSin's KDR Calculater Fully Converted!

CODE

Code:
``` Function FKDR(ByVal Kills As String, ByVal Deaths As String, ByVal KDR As String)
Dim Result As Double
If KDR = 0 Then
Result = Kills / Deaths
Else
Result = KDR * Kills - Deaths
End If
If KDR < 1 Then
Return Format(Result, "0.00")
Else
Return Format(Result, "0")
End If
End Function```
How to use..

To find your KDR From Kills, and Deaths...

Code:
`FKDR(Kills, Deaths, 0)`
To Calculate the amount of Kills to your desired KDR.

Code:
`FKDR(Kills, Deaths, Desired KDR)`
Credits

WarPathSin - Idea
Coder Never - Converting

2. Did you do this with his permission?

3. is not funtion

4. Im trying to make a KD calculator too.
Ive used my own source tho.

Ive made a "streak needed" to get a 0.01 higher KDR but idk the forumla.
Could anyone tell me how to work out how many kills you need for your KD to go up ?

5. Originally Posted by ac1d_buRn
Im trying to make a KD calculator too.
Ive used my own source tho.

Ive made a "streak needed" to get a 0.01 higher KDR but idk the forumla.
Could anyone tell me how to work out how many kills you need for your KD to go up ?
i guess it depends on how high or low your kd already is..
if your kd is like .50 and you get 20 kills and 0 deaths then it will go up alot..
but if its 1.00 and you get 20 kills it only gos up like .01

6. Do u really need code for this. I mean really? Its just middle school algebra guys... =/

7. ## The Following 2 Users Say Thank You to why06jz For This Useful Post:

Mr.Magicman (05-03-2010),[MPGH]NextGen1 (05-02-2010)

8. LMAO

you punk... wtf... LMAO

9. Someone's in trouble.

10. Originally Posted by -R4v3N-
Someone's in trouble.
Originally Posted by why06jz
Do u really need code for this. I mean really? Its just middle school algebra guys... =/
Both quoted for truth.

The better you are at maths the better your chances are of getting where you want to in the programming world.

11. Originally Posted by Samueldo²
Both quoted for truth.

The better you are at maths the better your chances are of getting where you want to in the programming world.
now thats quoted for truth.

12. This can be done by simple maths. why does some 1 need a retarded calculator??? the windows calculator is more avanced than this

13. So this was not done with permission?

You asshole.

14. You don't need premission for a simple math function, and I even gave him credits for the idea, and put his name in the title for people know what it is....and even though it is simple math you have to understand that some people are just idiots, are lazy, or just bad at math.

15. Originally Posted by whit
i guess it depends on how high or low your kd already is..
if your kd is like .50 and you get 20 kills and 0 deaths then it will go up alot..
but if its 1.00 and you get 20 kills it only gos up like .01
i think he knew that and was asking
eg i have 1kdr
if i get 0.009kdr more does it round up to 0.01 =1.01
or 1.00