# DynamicQuantities - possible to display values with affine units?

**URL:** <https://discourse.julialang.org/t/dynamicquantities-possible-to-display-values-with-affine-units/128332>\
**Category:** General Usage\
**Created:** [April 23, 2025, 1:58pm UTC](https://discourse.julialang.org/t/dynamicquantities-possible-to-display-values-with-affine-units/128332 "2025-04-23T13:58:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjmat](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Post date:** [April 23, 2025, 1:58pm UTC](https://discourse.julialang.org/t/dynamicquantities-possible-to-display-values-with-affine-units/128332/1 "2025-04-23T13:58:37Z")

</div>

Hello,

I am experimenting with DynamicQuantities, and I am struggling with a simple problem: once you have created a variable with affine units, is it possible to display it with those units? Let’s say I create a DataFrame with one column for temperatures, it seems I can only see the column in kelvins (at the REPL, or using PrettyTables for example). I understand the need to convert internally to avoid ambiguities, but for interactive data exploration, I find it more convenient to “see” the temperatures in °C most of the time. The docs say that I can strip units and convert to degrees Celcius at the same time to get the numerical value, but in that case I just get a number, not a “quantity with units”.

In other words, I would like to be able to force displaying in °C, similarly to what you can do if you want to display a length in miles for example, with symbolic units:

```julia
using DynamicQuantities
len = 1.609344u"km" |> us"mi"
# Displays 1.0 mi and will keep displaying like that
# BUT
temp = 0ua"°C"
# Displays 273.15 K and I cannot find a way to force displaying in °C

```

Thanks!
