Floating point formatting fixed
[lineal.git] / src / webui / psfiles / calcupage-infix.lisp
blobe9b30db1ad74f7c6c22ce1640541313b2e3e70fa
2 (defvar process-loc "/process-infix")
4 (defun show-func (name elem width fcolor bcolor)
5 (show-input-button name elem (+ name " ")
6 width fcolor bcolor))
8 (defun show-binop (name elem width fcolor bcolor)
9 (show-input-button
10 name elem name width fcolor bcolor))
12 (defun show-multi-func (name elem width fcolor bcolor)
13 (show-input-button name elem (+ name "(")
14 width fcolor bcolor))
16 (defun memory-buttons (elem)
17 (show-input-button "recall" elem "recall(\\\"" 50 "white" "DarkSlateGray")
18 (show-input-button "store" elem "store(\\\"" 50 "white" "SlateBlue"))
20 (defun sqrt-button (elem)
21 (show-input-button "√" elem "sqrt "))
23 (defun expt-button (elem)
24 (show-binop "^" elem))
26 (defun times-button (elem)
27 (show-input-button "×" elem "*"))