I think you cant use entity skills if you want to keep float precision. I you use the material skills youz dont need the floatv() since its already a float type. You could also use a global float f.i. float g_foo=0.0121;>//Lite-C
declaration for use in the shader:
float g_foo_ftl;//HLSL