j_init ~main

Default initializers for float and double


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

j_init

Default initializers for float and double

A small example on how to use:

import j_init;

void main() {
    Double myDouble; // myDouble now equals 0.0

    double testComparitor = 0.0;

    assert(myDouble == testComparitor);


    Float myFloat; // myFloat now equals 0.0

    float testComparitor2 = 0.0;

    assert(myFloat == testComparitor2);
}
Authors:
  • jordan4ibanez
Dependencies:
none
Versions:
1.0.0 2022-Aug-23
~main 2022-Aug-23
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 6 downloads total

Score:
0.5
Short URL:
j_init.dub.pm