@angular/core

numberAttribute

function

Transforms a value (typically a string) to a number. Intended to be used as a transform function of an input.

  
    numberAttribute(  value: unknown,  fallbackValue?: number): number;
  
  
Jump to details