Hey Prajwal,
For this you can convert your integers into decimals and perform your logic and then convert your outcome back into an integer or string, or simply leave it as a decimal.
You can use the 'parse decimal' function to do this. It can be found here.
So you'd do something like this: parseDecimal(to string($yourIntegerVariable))
Hope this helps,
Austin