## Decimal Trick

Hi! Here is a fun trick that I use sometimes when I am working on a project.

To make a number with a decimal point (EX: 5.36), look below:

In this picture, I made the text set to 5.35, but I did it by writing:

5 + 35 divided by 100 (which is equal to 5.35)

*Why Use This?*

Why not just type the actual decimal? You *can* just type in the actual decimal if it is in a text. However, if you have a value, the only way to make it into a decimal is by dividing the number like I showed you.

*Why Is it Useful?*

This is especially useful if you are doing something with money. For example, if you have $1.35 you would write it like this: 1 + 35 divided by 100. You always have to divide the number you want to be a decimal by 100.

*When Would You Use This?*

Here are some things you would maybe want to use this for:

-Values-- If you have a game including decimals(EX: Money) you could set a value to whatever decimal you want(EX: 1.30) and then you could have arrows that increase and deacrease the value. EX: Increase Value Money by 1 + 30 divided by 100.

-Positioning-- Setting the position of an object can also be done with decimals. If you have a scrollable website, you can use decimals to set the position of your texts. Sometimes your objects won't line up exactly, so adding a decimal could allow you to place exactly where you want it. What I mean by that is, let's say your object's x position is 560. If you added the decimal .40 to it, it now becomes 560.40. That mean your object will be at X 560 plus a *little* bit (which is the .40).

*Remember!*

When you are typing in your decimal, remember that you set it up like this:

__ + ( __divided by 100)

The number that You are dividing should be less than 100.

*Have fun with decimals! I hope this helped!*