Hey, I'm making a math bot, and when you type in your equation it converts the numbers to doubles right away.
Except, when doing any equation with a decimal, the decimal is ignored.
Example
2 + 2 = 4 (No decimals, it works fine.)
2.2 + 2 = 24 (Decimal is ignored, 2.2 now equals 22.)
How would I be able to fix this?