Avatar

Level 1

In it what tab of the pattern do I put that in?  So far I was using this formula in javascript:

if (this.rawValue != null) {

this.rawValue = Math.abs(this.rawValue);

if (this.rawValue >= 1) {

  this.rawValue = this.rawValue / 100;

}

}

if (this.rawValue == null || this.rawValue <= 1)

true;

else

false;

I am not sure that is what I should be using.  I used your line but it still multiplies it by a 100. It now just says for example 36% but it still multiplies by 3600  How do I stop that?

Thanks for your help