[Bug 36270] Format=sum, result on screen different from result as property

2014-03-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=36270

Jeroen De Dauw  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 36270] Format=sum, result on screen different from result as property

2013-02-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=36270

Ad Strack van Schijndel  changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 36270] Format=sum, result on screen different from result as property

2012-04-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=36270

--- Comment #3 from Ad Strack van Schijndel  
2012-04-26 14:11:24 UTC ---
You're right, indeed it returned 60.000. 
And indeed if I do [[Amount::60.000]] it is stored as 60 as well.
I'll submit it as an SMW bug.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 36270] Format=sum, result on screen different from result as property

2012-04-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=36270

--- Comment #2 from Yaron Koren  2012-04-26 13:56:44 UTC ---
My strong guess is that the #ask is returning the value "60.000", because your
wiki is in Dutch, and the "[[Amount::" call is getting confused by that,
thinking that it means 60. The issue with "," vs. "." as number separators has
caused problems in SMW before.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 36270] Format=sum, result on screen different from result as property

2012-04-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=36270

Ad Strack van Schijndel  changed:

   What|Removed |Added

Summary|Format=sum, result on   |Format=sum, result on
   |screen different from   |screen different from
   |result as propert   |result as property

--- Comment #1 from Ad Strack van Schijndel  
2012-04-26 13:34:54 UTC ---
I've got the following code:

{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=1
}}
{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=2
}}
{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=3
}}
[[Amount::{{#ask: [[Page::{{PAGENAME}}]]
|?Amount
|format=sum
}}]]

The result of the sum on the screen is 6. The property 'Amount' of the page
shows 60.
Language is Dutch.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l