* Michael Welle wrote:
> Hello,
>
>> | time [h:m:s] | value | product |
>> |--+-+-|
>> | 09:15:00 | 2.54321 | #ERROR |
>>
>> #+TBLFM: @2$3='(org-time-string-to-hours $1)
> I'm just back from a 20km hike and in the woods my mind came up with a
> silly question ;)
Hello,
Karl Voit writes:
> * Karl Voit wrote:
>>
>> | time [h:m:s] | value | product |
>> |--+-+-|
>> | 09:15:00 | 2.54321 | #ERROR |
>> #+TBLFM: @2$3='(org-time-string-to-hours $1)
>>
>> OK, this is my current issue then.
>>
>> I'm using Org from git/maint ve
* Karl Voit wrote:
>
> | time [h:m:s] | value | product |
> |--+-+-|
> | 09:15:00 | 2.54321 | #ERROR |
> #+TBLFM: @2$3='(org-time-string-to-hours $1)
>
> OK, this is my current issue then.
>
> I'm using Org from git/maint version 8.3.4
> (release_8.3.4-33-gd522fc
Hello,
Nick Dokos writes:
> Michael Welle writes:
>
>> Hello,
>>
>> Karl Voit writes:
>>
>>> * Michael Welle wrote:
Karl Voit writes:
>> [...]
>>> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
>> or converting $2 to a number before the calculation should
Michael Welle writes:
> Hello,
>
> Karl Voit writes:
>
>> * Michael Welle wrote:
>>>
>>> Karl Voit writes:
>>>
> [...]
>> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
> or converting $2 to a number before the calculation should work also,
> but is more to write ;).
>
Hi,
FWIW, there is a org-table-toggle-formula-debugger command.
On Mon, Sep 19 2016, Karl Voit wrote:
> * Michael Welle wrote:
>>
>> Karl Voit writes:
>>
[...]
> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
or converting $2 to a number before the calculation should wo
Hello,
Karl Voit writes:
> * Michael Welle wrote:
>>
>> Karl Voit writes:
>>
[...]
> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
or converting $2 to a number before the calculation should work also,
but is more to write ;).
>>>
>>> Hm. I still got #ERROR. I reduc
* Michael Welle wrote:
>
> Karl Voit writes:
>
>>> [...]
#+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
>>> or converting $2 to a number before the calculation should work also,
>>> but is more to write ;).
>>
>> Hm. I still got #ERROR. I reduced my issue to calculate the float (for
Hello,
Karl Voit writes:
> Hallo Michael,
>
> thanks for the pointer to http://orgmode.org/org.html#Formula-syntax-for-Lisp
> -
> it was very helpful for my understanding.
>
> * Michael Welle wrote:
>> Hello,
>>
>> Michael Welle writes:
>> [...]
>>> #+TBLFM: @2$3='(* $2 (org-time-string-to-ho
Hallo Michael,
thanks for the pointer to http://orgmode.org/org.html#Formula-syntax-for-Lisp -
it was very helpful for my understanding.
* Michael Welle wrote:
> Hello,
>
> Michael Welle writes:
> [...]
>> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
> or converting $2 to a number be
Hello,
Michael Welle writes:
[...]
> #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L
or converting $2 to a number before the calculation should work also,
but is more to write ;).
Regards
hmw
Hello,
Karl Voit writes:
> * Michael Welle wrote:
[...]
> ... which is working:
>
> | time [h:m:s] | value | hours [float] | product |
> |--+-+---+---|
> | 09:15:00 | 2.54321 | 9.25 | 23.524693 |
>
> #+TBLFM: $4=$2*$3::@2$3='(org-time-str
* Michael Welle wrote:
> Hello,
Hello Michael,
> Karl Voit writes:
>
>> * Karl Voit wrote:
>>> Hi!
>>>
>>> I do have following situation: I'd like to multiply a float with hours
>>> which results in an error, obviously. However, I was not able to find
>>> out how to do it.
>>>
>>> Minimal exam
Hello,
Karl Voit writes:
> * Karl Voit wrote:
>> Hi!
>>
>> I do have following situation: I'd like to multiply a float with hours
>> which results in an error, obviously. However, I was not able to find
>> out how to do it.
>>
>> Minimal example with expected product:
>>
>> | time [h:m:s] |
* Karl Voit wrote:
> Hi!
>
> I do have following situation: I'd like to multiply a float with hours
> which results in an error, obviously. However, I was not able to find
> out how to do it.
>
> Minimal example with expected product:
>
> | time [h:m:s] | value | h * value |
> |--+-
Hi!
I do have following situation: I'd like to multiply a float with hours
which results in an error, obviously. However, I was not able to find
out how to do it.
Minimal example with expected product:
| time [h:m:s] | value | product |
|--+-+---|
| 09:15:00 |
16 matches
Mail list logo