@Tom:
>But when reading text into a number there is no decision to be made.<
Yeah, there is, to wit: How to best interpret the text according to the rules sewn into the informat in order to arrive at a number. That involves a lot of logic; and the latter is the vehicle through which decisions are made. In this sense, "best" is semantically quite proper, as textual notations denoting quantities come in different forms, and a numeric informat is trying to make the best decision at how to interpret a given form. So, there's nothing wrong, IMO, in calling the standard numeric informat BESTw.d.
>There is no "best" way to store a number.<
Yeah, there is, and it depends on a cornucopia of factors, related to (a) the physical properties of the computing platform and (b) how the number is going to be used. The latter is the reason why different numeric data types exist (and SAS is no exception if we don't limit it to Base where the only type is RB8). Aside from it, a numeric informat makes no decisions on how numbers are stored. Its role is to decide how to interpret a bunch of characters as a number and, if the attempt is successful, pass it to the SAS facility that physically stores it according to the data type of the variable to which it is assigned.
Kind regards
Paul D.
... View more