Use datatype abbreviations to provide alternate names to datatypes. Abbreviations are most useful when working with long datatype names.
typedef money euros;This declares a variable price of that datatype:
euros price := 10.70d;
typeof(price) newPrice := 10.70d;The above is an equivalent way of writing:
money newPrice := 10.70d;