Main version calculator Tool 

Here you can calculate version if you wish:
 
hi all,please help me

i cant understand this , how make main version

i have server 0.99b, and when i use main editor, get version 0.99.28,
whith calcutator 0.99.28 => 22273. how should i use this?
 
Btw how can be fixed ?!
Current calcs are : (decompiled C#)
Code:
str = Conversions.ToString((double) (Conversions.ToDouble(Conversions.ToString((double) (Conversions.ToDouble(this.TextBox1.Text) - 10000.0))) + 22345.0));
 
Back