Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Грешна формула в GUI конвертор от BGN към EUR #253

Open
WaLkZa opened this issue Jan 2, 2021 · 0 comments
Open

Comments

@WaLkZa
Copy link

WaLkZa commented Jan 2, 2021

Линк към файла

https://github.com/SoftUni/Programming-Basics-Book-CSharp-BG/blob/master/chapter-02-simple-calculations.md#%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D1%87%D0%BD%D0%BE-%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BA%D0%BE%D0%BD%D0%B2%D0%B5%D1%80%D1%82%D0%BE%D1%80-%D0%BE%D1%82-bgn-%D0%BA%D1%8A%D0%BC-eur

Описание

Формулата за изчисляване от BGN към EUR е грешна. Трябва да се дели, а не умножава. Първия скрийншот също трябва да се обнови за да е в съотвествие.

Текущ текст

var amountEUR = amountBGN * 1.95583m;

Текст след поправката

var amountEUR = amountBGN / 1.95583m;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant