Mix Calculator 4.0 : Software to make your own mixes

“System.InvalidCastException: Conversion from string “5.0” to type ‘Single’ is not valid. —> System.FormatException: Input string was not in a correct format.”

the reason you are getting this is because the computer is expecting a “single” value- that is, a non-decimal value.

try a non-decimal number, eg. 1, 564, 12, ect. and see if you get the error. i think nbully meant to parse the string into a double (decimal compliant numbering system) but put single instead? You should be able to use it using whole numbers until nbully gets back to you

I think this 5.0 comes from the def. parameter in Output Seize (ml)

But this is the field i left alone :slight_smile:

UPDATE on the situation

i got it working..


Its strange but when i open the calculator
it states the fallowing numbers as defaults:


and this is where the problem begins.
If i change 0.125 to 0,125 then .. it works ! :slight_smile:
but if i assume that the default parameters should be correct .. i get this error :smiley:

then… why its displaying 0.125 as default :slight_smile:

I had a suspicion it could be the comma use in some parts of the world for decimal. The default is ofcourse preset by me based on the US system.

Idle, do you need to enter all decimal numbers with comma instead of period to make it work?

Yep,
i have to replace it everywhere.
But you are right. the problems is from the language settings on this pc.

The calculator works great now… nice work !

The VB libraries may be reading the Regional Settings. That means use a comma in EU and a decimal in US.

Love this thing just got my P96 in and with the help fo this lovely thing am splitting it down

Thanks for this! It’s great for helping me calculate my ICM mix dosages correctly!

Why does the mixing by mL option not calculate for .01 accuracy? only to .1mL

Is it possible to get a version where the calculations are visable to that accuracy to mixing ability?

Hey djandarial, you can change the rounding to 2 to increase the accuracy to 2 digits.

$hit…

Oh well, if the mix I made works and good I will check it again, take accuracy from 8% to 1%

Thanks bro

Hi. The files are no longer available on RS.

Can you repost please?

Thanks in advance.
Regards,

Posting to subscribe

Indeed, does anyone have a link?

Guys… please post a new link?
rapidshare… mediafire…netload anyone

Thanks