Hime Weapon Damage formula help

So i'm using the weapon damage formula. I don't know anything about java script so I want to know what should I write if I want a random number between 1 and 1.125 (1 and 1.125 are included)


my formula is


(a.atk * (the random number between 1-1.125) * b.def) * (1 + a.atk * (a.level + a.atk) * 0.004)


Thanks.
the random number between 1-1.125 can be substituted with

( Math.randomInt(125)  + 1000 ) / 1000

Math.randomInt(x) chooses a random integer between 0 and X where X should be a integer itself
 
@boomy thanks  😀

Original thread: https://forums.rpgmakerweb.com/threads/hime-weapon-damage-formula-help.63875/