forked from extern/nushell
Add rounding functionalties (#2672)
* added math round * added math floor * added math ceil * added math.md examples * moved the detection of nonnumerical values in ceil/floor/round * math round now works on streams * math floor now works on streams * math ceil now works on streams
This commit is contained in:
@ -223,6 +223,9 @@ pub fn create_default_context(interactive: bool) -> Result<EvaluationContext, Bo
|
||||
whole_stream_command(MathSummation),
|
||||
whole_stream_command(MathVariance),
|
||||
whole_stream_command(MathProduct),
|
||||
whole_stream_command(MathRound),
|
||||
whole_stream_command(MathFloor),
|
||||
whole_stream_command(MathCeil),
|
||||
// File format output
|
||||
whole_stream_command(To),
|
||||
whole_stream_command(ToCSV),
|
||||
|
Reference in New Issue
Block a user