Convert layout constant to nfloat