Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

math-functions

Math functions in angular2 bindings

September 15, 2023 by Tarik

You can try this : @Component({ selector: ‘my-app’, template: ` <div> <h2>Hello {{math.round(number)}}</h2> </div> `, }) export class App { number = 2.5; math = Math; } DEMO

Categories angular Tags angular, math-functions, typescript Leave a comment

What exactly is std::labs() there for?

May 23, 2023 by Tarik

C++11 was when std::labs and std::llabs were added. This was part of the partial syncing done to the C++ standard library with the C99 standard library. You don’t really need it in C++ code, because we had a long overload of std::abs since about forever. But if you have some C code (that by sheer … Read more

Categories c++ Tags c++, c++11, math-functions, prototype Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa