Rev 14817 | Rev 15681 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14817 | Rev 14857 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | Mathematical expression manipulations for WIMS |
48 | Mathematical expression manipulations for WIMS |
49 | For the moment, use only in deductio |
49 | For the moment, use only in deductio |
50 | 50 | ||
51 | :moneyprint |
51 | :moneyprint |
52 | prints a number with fixed amount of decimal places |
52 | prints a number with fixed amount of decimal places |
53 | Usage:!exec moneyprint |
53 | Usage:!exec moneyprint number1,number2,number3,....number_n decimal_places<br />or !exec moneyprint number1,number2,number3;....number_n decimal_places<br />\text{A=wims(exec moneyprint number1,number2,number3....number_n decimal_places)}<br />default value "decimal_places = 2"<br />A=!exec moneyprint 123,43.5,23.45665<br />A=123.00,43.50,23.47<br/>A=!exec moneyprint 1.000,6.234;8.4567<br />A=1.00,6.23;8.46<br />or specified a last "word"<br />A=!exec moneyprint 123,43.5,23.45665 3 <br />A=123.000,43.500,23.457 |
54 | 54 | ||
55 | 55 | ||
56 | :shortpath |
56 | :shortpath |
57 | Xiao Gang |
57 | Xiao Gang |
58 | Finds the shortest paths linking given points |
58 | Finds the shortest paths linking given points |