Hi Siniy-Kit,

That’s correct: minall[] applied to an empty input list will return the special 
value “Infinity”.

You should be able to fix things with an “else” run:

 {{{[is[current]tagging[]tag[$:/Note]!tag[$:/TOC]!ostatok[0]get[price]] ~0 
+[minall[]]}}}

Best wishes

Jeremy

> On 12 Jul 2021, at 16:21, Siniy-Kit <neras...@gmail.com> wrote:
> 
> I understand the problem was in  !ostatok[0]  my filter was empty
> 
> понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com 
> <http://gmail.com/>: 
> Hi Siniy-Kit,
> 
>> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
>> the field values is text (not number) How can I check numbers in filter?  
>> (something like is[number]  )
> 
> That seems like a bug with the minall[] operator. All the numeric operators 
> are supposed to treat items that can’t be parsed as a number as zero. Thus 
> the following filter returns zero:
> 
> 1 2 3 chicken +[minall[]]
> 
> Can you give an example of the values that return Infinity?
> 
> Many thanks,
> 
> Jeremy
> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com 
>> <applewebdata://11046B8C-09DE-4E4E-9040-1D0817E1FCC6>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/9edb2670-89b0-4fb5-a179-d59bae79b803n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/9edb2670-89b0-4fb5-a179-d59bae79b803n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/DDA38BD1-CDF5-4861-9372-C358267F7D90%40gmail.com.

Reply via email to