# problem with 'column sum' and decimals

**URL:** <https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514>\
**Category:** Tips\
**Created:** [June 25, 2007, 3:44pm UTC](https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514 "2007-06-25T15:44:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbrzvnrnd](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/f/958977/32.png) [@fbrzvnrnd](https://discourse.devontechnologies.com/u/fbrzvnrnd)\
**Post date:** [June 25, 2007, 3:44pm UTC](https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514/1 "2007-06-25T15:44:22Z")

</div>

I have some datas in a shell and I want to sum a column. If there are not decimals all is working fine:

[venerandi.com/temp/suma.png](http://www.venerandi.com/temp/suma.png)

If I change a data using a decimal, DTPO give me a hard way to understand the sum!

[venerandi.com/temp/sumb.png](http://www.venerandi.com/temp/sumb.png)

I’m missing something?

thank you.

f.

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [June 26, 2007, 6:12am UTC](https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514/2 "2007-06-26T06:12:22Z")

</div>

That’s a limitation of AppleScript’s formatting of numbers.

---

<div class="post-metadata">

**Author:** ![fbrzvnrnd](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/f/958977/32.png) [@fbrzvnrnd](https://discourse.devontechnologies.com/u/fbrzvnrnd)\
**Post date:** [June 26, 2007, 8:52am UTC](https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514/3 "2007-06-26T08:52:51Z")

</div>

> [@cgrunenberg](#):
>
> That’s a limitation of AppleScript’s formatting of numbers.

Thank you for the answer. I hope DTPO 2 will have more control on shell and less applescript…

f.

---

<div class="post-metadata">

**Author:** ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)\
**Post date:** [January 21, 2022, 10:59am UTC](https://discourse.devontechnologies.com/t/problem-with-column-sum-and-decimals/4514/4 "2022-01-21T10:59:57Z")

</div>


