Quote:
% = The beginning of a variable, has nothing to do with math (%cows / %moos.per.cow)


Not in his example it doesnt, and really u should have looked a bit harder than just saying it is the start of a variable, I mean the example he gave it the one from the help file /HELP $CALC

% is the modular of something (remainder after division)

//echo -a $calc(1234 % 10)
4
//echo -a $calc(1234 % 999)
235

Quote:
yes, but if anything it reads isn't a number (i believe this will happen), it will come out as 0 no matter what ^_^


close, calculations seem to work up tell a non numeric / non valid calculation is incountered
//echo -a $calc(2 * 123 * 10)
2460
//echo -a $calc(2 * 123 * 10x)
2460
//echo -a $calc(2 * 123x * 10)
246
//echo -a $calc(2x * 123 * 10)
2