Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362728 - Exception on mathLib.precision
Summary: Exception on mathLib.precision
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 17:20 EDT by broy2 CLA
Modified: 2017-02-23 14:18 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 17:20:55 EDT
Use EUNIT to run:

library precision
	function precisionDecimal() {@Test}	
	decimal31 decimal(31,3);
	resultInt int ;
	try
		resultInt = mathLib.precision(decimal31);
		onException(oops AnyException)
            LogResult.failed("Exception");
            exit;
        end
		LogResult.assertDecimalEqual("precisionDecimal", 31, resultInt);
	end    
end

When debugging, I see:
eglx.javascript.JavaScriptObjectException x.eze$$signature is undefined
Comment 1 Huang Ji Yong CLA 2011-11-14 02:20:52 EST
Resolved indirectly, verified by Pengfei
Comment 2 broy2 CLA 2011-11-14 14:13:33 EST
Verified in 20111114 build.