M
M
mipfikus2020-05-13 18:12:19
css
mipfikus, 2020-05-13 18:12:19

Calculator issue?

I have a formula calculator.

Question:

Is it possible to make it so that the user can enter fractional numbers into it not only with a dot (12.1), but also with a comma (12.1)?

Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseny, 2020-05-13
@mipfikus

I have an overloaded example, but with comments. This is what you need, I think.

K
Karpion, 2020-05-13
@Karpion

See how the calculator works.
The most stupid way: either during the input, or after the input - replace the jammed ones with dots, then calculate.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question