pattern control on decimals (ws3)