mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 13:18:23 +00:00
Decimal assembler support.
This commit is contained in:
@@ -7,20 +7,11 @@ package mypkg
|
||||
|
||||
public function test(arg_d:decimal): void
|
||||
{
|
||||
//trace("Hello world");
|
||||
|
||||
//HALF_EVEN, DOWN, FLOOR, UP, CEILING, HALF_UP, HALF_DOWN
|
||||
//Presision values: HALF_EVEN, DOWN, FLOOR, UP, CEILING, HALF_UP, HALF_DOWN
|
||||
|
||||
//use precision 10, rounding FLOOR;
|
||||
//var arr = [];
|
||||
//arg_d = arr[4];
|
||||
/*var a:int = 1;
|
||||
var b:int = 2;
|
||||
var c:decimal = a < 3 ? a : b;*/
|
||||
//this.testd(4);
|
||||
var i:* = 70000;
|
||||
|
||||
var a:decimal = 10000000010000000002000000000300000000040000000005m;
|
||||
var a:decimal = 10000000010000000002000000000300000000040000000005m;
|
||||
}
|
||||
|
||||
private function testd(arg_d:decimal) {
|
||||
|
||||
@@ -4,4 +4,3 @@ include "int.as"
|
||||
include "decimal.as"
|
||||
include "__AS3__/vec/Vector.as"
|
||||
include "TopLevel.as"
|
||||
include "mypkg/MyClass.as"
|
||||
|
||||
Reference in New Issue
Block a user