Dart Tutorial #16 - Number Methods & Functions in Dart Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • Dart Tutorial #16 - Number Methods & Functions in Dart Programming
    In this video by Programming for Beginners we will see Number Methods in Dart Programming, using Dart Tutorial videos. We can learn Dart Programming language to make web applications or mobile applications using flutter framework. Also we can make single-page web applications using Dart programming.
    Number methods or functions can be used in Dart for some number manipulation.
    Below are some of the number methods or number functions in Dart Programming:
    abs() - Returns the absolute value of the number
    ceil() - Returns the least integer not smaller than the number
    compareTo() - Compares this to other number
    Floor() - Returns the greatest integer not greater than the current number
    remainder() - Returns the truncated remainder after dividing the two numbers
    Round() - Returns the integer closest to the current numbers
    toDouble() - Returns the double equivalent of the number
    toInt() - Returns the integer equivalent of the number
    toString() - Returns the string equivalent representation of the number
    truncate() - Returns an integer after discarding any fractional digits
    Dart Tutorial Playlist:
    • Dart Tutorial
    VS Code Editor:
    code.visualstudio.com/download
    Online Dartpad:
    dartpad.dartlang.org/
    Dart SDK:
    www.dartlang.org/install/arch...
    TH-cam Gears:
    Microphone: amzn.to/3iIk5K3
    Mouse: amzn.to/35irmNF
    Laptop: amzn.to/3iG0jyD
    #Dart #Tutorial #Programming
    ============================
    LIKE | SHARE | COMMENT | SUBSCRIBE
    Thanks for watching :)

ความคิดเห็น • 5