Decimal numbers

Hello everyone, in a variable of type float (decimal), how can I reserve the first number in a new variable and the number after the point in another new variable.
Ex.: pageVars.pace (6.45)
Note: I need to reserve 6 in a variable, then 6*60 = 360 seconds and add 45, 360+45 = 405 seconds.
Would anyone know a starting point?