Trying to use "contain" and "tostring" statements in formula fields.

Trying to use "contain" and "tostring" statements in formula fields.

Hi!

I need some help with this. I'm trying to set up one formula field to get data from a number field and print a string. I need a formula like this one: 

      If(Contains(${Products.Horas},300),10,If(Contains(${Products.Horas},100),5,0))

But ${Products.Horas} is a number field, i know that i have to use "tostring" statement, but don't know how.

Anyone knows how?


Thanks for your time!