numeric variable template