Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362716 - Exception on exponent operator
Summary: Exception on exponent operator
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 15:14 EDT by broy2 CLA
Modified: 2017-02-23 14:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-11-02 15:14:49 EDT
Use EUNIT to run:

library exponent
    a decimal(4) = 6;
    b decimal(4) = 2;
    function operators(){@Test}
        try
            a = a ** b;
        onException(oops AnyException)
            LogResult.failed("Exception");  
            exit;      		 
        end
        LogResult.assertDecimalEqual("operators", 36, a);
    end
end

Get exception:  eglx.javascript.JavaScriptObjectException x.toFixed is not a function
Comment 1 Huang Ji Yong CLA 2011-11-14 01:31:50 EST
Resolved indirectly
Verified by Pengfei
Comment 2 broy2 CLA 2011-11-14 14:15:39 EST
Verified in 20111114 build.