How can we convert an integer to string in Angular

Source:https://stackoverflow.com/questions/22328543/how-can-we-convert-an-integer-to-string-in-angularjs


.toString() is available, or just add "" to the end of the int
var x = 3,
    toString = x.toString(),
    toConcat = x + "";
Angular is simply JavaScript at the core.

Không có nhận xét nào:

anti-pattern là gì

  Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...