NHoldFirst
NHoldFirst is an attribute which specifies that the first argument to a function should not be affected by N.
Examples
SetAttributes[f, NHoldFirst]
N[f[Pi, E]]Attributes[f]Please visit the official Wolfram Language Reference for more details.