add floating point number support
This commit is contained in:
parent
7f3597e705
commit
71eeb0f51a
|
|
@ -18,6 +18,7 @@ public class Parser {
|
||||||
|
|
||||||
private boolean isOperand(char c) {
|
private boolean isOperand(char c) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
case '.':
|
||||||
case '0':
|
case '0':
|
||||||
case '1':
|
case '1':
|
||||||
case '2':
|
case '2':
|
||||||
|
|
|
||||||
Reference in New Issue