[Bugzilla] [Bug 15488] New: string macro treats integer types as double
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Thu Mar 15 12:05:14 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=15488
--------- Bug Summary -----------
string macro treats integer types as double
---------- Changed by ------------
stephane.mottelet at utc.fr
---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter
Bug ID: 15488
Summary: string macro treats integer types as double
Product: Scilab software
Version: 6.0 nightly or development
Hardware: (not used)
OS: All OS
Status: NEW
Severity: Minor
Priority: (field not used)
Component: Install
Assignee: bugzilla.admin at scilab.org
Reporter: stephane.mottelet at utc.fr
BUG DESCRIPTION:
----------------
Integers are converted on-the-fly by string, which then returns an incorrect string w.r.t. inpout type
HOW TO REPRODUCE THE BUG:
-------------------------
--> x=uint32(1e16)
x =
1874919424
--> string(x)
ans =
1.875D+09
// should be "1874919424"
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180315/baa70431/attachment.htm>
More information about the Bugzilla
mailing list