A math question, 350 = 0 to 235

Hello facepunch, i got a little question here.

I have a timer withs is 350 sec, and i want those 350 sec to be = to 0 to 235,

Those values 0, and 235, is the wight of a loading bar.
I head that i could use math.Clamp(input, 0, 235)
But it does seam to work, what else can i do, or what does i do wrong?

[editline]21st June 2013[/editline]

input = 350

(User was banned for this post ("wrong section" - Gran PC))

divide by 350, times by 235


[editline]21st June 2013[/editline]

Ohh… Lol

Divide the input by 350 and then multiply it by 235


[Removed - Lol]