Check out example codes for "1080 / 7". It will help you in understanding the concepts better.

Code Example 1

1080 / 7 = 154.285714286

Learn ReactJs, React Native from akashmittal.com