# multiple and power of int and float has actual meaning #770

Open
opened this issue Jul 14, 2019 · 2 comments

### xp44mm commented Jul 14, 2019 • edited

 int multiple float or float multiple int has actual meaning in real world. for example, there is 9 bottle of cola in a box, every a bottle has 2.5L cola, how many Liters are the total cola in a box? ```let count = 9 let bottle = 2.5 let total = 9*2.5 let total = 2.5*9``` another has actual meaning is pow, for example, several number of float number multiple: `let res:float= 2.5**3` actually is: `let res = 2.5*2.5*2.5` when float divide int has actually meaning, for example, Mother is sharing the cola (2.5L) among the children(2 p). `let every = 2.5 / 2`
Contributor

### Happypig375 commented Jul 14, 2019 • edited

 Might as well add `int + float`, `float32 - int16`, `byte + int64`, `int64 ** decimal` and so on.

### gusty commented Jul 14, 2019

 This suggestion is related #737 see my comment which propose a solution for this by using generic numbers.