Scale up to use integers and then divide down using the DIV32 command...

Firstly let's deal with the fractions...

0.27 is illegal in integer math, so multiply by 100 so we have 27.

3.6 is illegal in integer math, so multiply by ten so we have 36.

Multiplying the two we get 27*36 which is 972 but we are a factor of one-thousand out...

Now lets do the DIV32 bit... (PBP manual 4.17.8)...

t var word ' resultant
clk var word ' your variable in range 0-10000
a var word
temp var word

a=972
temp=clk*a
t=div32 1000

Your answer is in t as required.

Melanie