Lars Marius Garshol

Results 290 comments of Lars Marius Garshol

I assume that here you are talking about conversion from float to string, right? So you have `2.0101`, and `string(2.0101)` doesn't give you what you want?

So you really want to round the number as a number? Can you show me some use case for this? That is, some kind of situation that you want to...

I'm sorry, but that doesn't help me much. Can you try to show me what you're trying to do? I don't really understand what you're asking for, just like I...

Thinking about this some more I think the right thing to do here is what you wanted all along: have `round` support an optional number of digits. I'll try to...

Let me double-check something here. Which of these is it you want? Input: `{"a" : 1.0015, "b" : 1.095}` Output: `{"a" : "1.00", "b" : "1.10"}` Or: `{"a" : 1.0,...

Fixed now. Thanks for letting me know! I need to set this one up so it's more reliable. I need to change web hosting, so I'll do it after that....

I think you would have to do this by implementing your own `ExpressionNode` that is a simple wrapper just tracking evaluations. Then you can walk the expression tree and at...

I've been thinking about adding this one. It would have to be a macro, but that's doable. Then you could sort that list by doing ``` sort(. , .score) ```...

No. Work this year has so far focused on removing the Jackson dependency (issue #123), but it looks like this is something we need to give priority soon.

I think the only practical way to do it at the moment is to write a function in Java and plug it in. Unfortunately.