Added abs(x) stock
This commit is contained in:
parent
729932476b
commit
227c13d12c
@ -38,4 +38,9 @@ native sqroot(value);
|
||||
native time(&hour=0,&minute=0,&second=0);
|
||||
native date(&year=0,&month=0,&day=0);
|
||||
|
||||
native tickcount(&granularity=0);
|
||||
native tickcount(&granularity=0);
|
||||
|
||||
stock abs(x)
|
||||
{
|
||||
return x > 0 ? x : -x;
|
||||
}
|
Loading…
Reference in New Issue
Block a user