Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Glasgow 6 - Alena Lazareva - JS1 - Week1 - #479

Open
lazar-eva wants to merge 7 commits into
CodeYourFuture:masterfrom
lazar-eva:master
Open

Glasgow 6 - Alena Lazareva - JS1 - Week1#479
lazar-eva wants to merge 7 commits into
CodeYourFuture:masterfrom
lazar-eva:master

Conversation

@lazar-eva

Copy link
Copy Markdown

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name: Alena Lazareva
  • Your City: Glasgow
  • Your Slack Name: @Alena Lazareva

Homework Details

  • Module: JS1
  • Week: 1

Notes

  • What did you find easy?

  • What did you find hard? Couldn't complete Magic 8 Ball

  • What do you still not understand?

  • Any other notes?


function convertToBRL() {}
function convertToBRL(price) {
return Math.round((price * 0.99) * 5.7 * 100) / 100;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Alena, I like how clean your code looks, I find it easy to read and understand!
I'm curious, could you help me understand why this is multiplied by 100 then divided by 100?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants