The ordinary Python round function can do this:
https://docs.python.org/3/library/functions.html#round


On Thu, 17 Nov 2022 at 09:46, Peter Stahlecker <[email protected]>
wrote:

> you might want to check floating point numbers in the sympy documentation.
>
> Am Do., 17. Nov. 2022 um 10:18 Uhr schrieb 'XR-7 RKE' via sympy <
> [email protected]>:
>
>> Hey guys,
>>
>> Does sympy support round a number to significant figures?
>>
>> [image: SCR-20221117-m64.png]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/4f5ae36a-60fb-429b-8f7a-e00e5637853fn%40googlegroups.com
>> <https://groups.google.com/d/msgid/sympy/4f5ae36a-60fb-429b-8f7a-e00e5637853fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CABKqA0ZhnozwJfww-y8Q7u%3DwiTHgdZGouwc5Kmi4obj8ZwJ4Ww%40mail.gmail.com
> <https://groups.google.com/d/msgid/sympy/CABKqA0ZhnozwJfww-y8Q7u%3DwiTHgdZGouwc5Kmi4obj8ZwJ4Ww%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxSy41%3D3n0wK_JvhJ%2B2A43m9AP8OtynRGC7HTHA0rZj2UQ%40mail.gmail.com.

Reply via email to