Calculator

JuiceMiner66 1 Reputation point
2021-02-08T19:06:29.7+00:00

Arkadaşlar ben bir hesap makinesi kodladım ve bu makinede Virgüllü toplama ,çıkarma çarpma veya bölme yapamıyorum.Mesela 8,6*7,2 diyorum Makine bunu 8*8,6 olarak
algılayıp çarpıyor.Yardımınız lazım lütfen. - Türkçe


Hi. I designed a Calculator and I cannot multiply, subtract, add or divide by commas in this Calculator. For example, I'm typing 8.6 * 7.2. However, this process is detected as 8 * 8.6. Please help. - English

Developer technologies | VB

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

2 answers

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Adrian Bowles 91 Reputation points
    2021-02-10T00:24:15.463+00:00

    I believe it may be a localization issue. In VB.NET the decimal separator is a period and a group separators is a , however in some locales this is not the case and they are different.

    The following discussion details some potential ways to handle it.
    detect-culture-of-number-in-vb-net-i-e-period-or-comma-for-decimal-point-thou

    Seeing your code will help pinpoint the best way to handle it.

    Was this answer helpful?

    2 people found this answer helpful.