$ 0 0 You can use a random number in an inline formula: if random(1,100) <= 10 this.downcase else this end