Opened 3 years ago

Closed 3 years ago

#509 closed enhancement (fixed)

a2js support of 'Rounding attribute

Reported by: vadim.godunko Owned by: Maxim Reznik
Priority: major Milestone: 19.0
Component: Matreshka - a2js Version:
Keywords: Cc:


It is quite trick to introduce support of 'Rounding attribute due to difference in semantic between Ada and JavaScript. For JavaScript equivalent code is

function _rounding(n)
    return Math.sign(n) * Math.round(Math.abs(n));

Change History (1)

comment:1 by Maxim Reznik, 3 years ago

Owner: set to Maxim Reznik
Resolution: fixed
Status: newclosed

In 5894:

a2js: Implement T'Rounding attribure

Closes #509

Note: See TracTickets for help on using tickets.