# Formula (Mathematical Function) implementation in BEx 7.0

Hi,

how do I implement a formula in BEx 7.0 to convert KeyFig "Z_DURATION" which is delivered in hours (eg: 1.5 h) into minutes (90 min). I tried the follwing formula, but encounter a critical error when I use this Mathematical Function logic.

FLOOR(Z_DURATION)**60 + FRAC(Z_DURATION)/10**60

Is this right? Pls advise. POINTS will naturally be awarded.

SD

##### anil kamsala replied

Hi SD,

You can just multiply by 60 and calculate. It will result in minutes.

Regards,

aanand