squants icon indicating copy to clipboard operation
squants copied to clipboard

The Scala API for Quantities, Units of Measure and Dimensional Analysis

Results 73 squants issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates * [org.portable-scala:sbt-scala-native-crossproject](https://github.com/portable-scala/sbt-crossproject) * [org.portable-scala:sbt-scalajs-crossproject](https://github.com/portable-scala/sbt-crossproject) from `1.2.0` to `1.3.2` 📜 [GitHub Release Notes](https://github.com/portable-scala/sbt-crossproject/releases/tag/v1.3.2) - [Version Diff](https://github.com/portable-scala/sbt-crossproject/compare/v1.2.0...v1.3.2) ## Usage ✅ **Please merge!** I'll automatically update this...

Hi, for a few medical neddings I need more units. I have a labor report and need to"understand" that values and to be able to calculate the differnences to an...

Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from 1.8.0 to 1.8.3. [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.8.3) - [Version Diff](https://github.com/sbt/sbt/compare/v1.8.0...v1.8.3) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...

Specifically the conversion between units such as WattsPerMinute and WattsPerHour are incorrect, see [PowerRampSpec](https://github.com/typelevel/squants/blob/b2fa2d4c1f00fd49b3e8fb047199f1f2965a03d7/shared/src/test/scala/squants/energy/PowerRampSpec.scala#L55): ``` WattsPerHour(1) should be(WattsPerMinute(60)) ``` This should be `WattsPerHour(3600) should be(WattsPerMinute(60))` Also the types in PowerRamp...

Updates [org.scala-lang:scala-library](https://github.com/scala/scala) from 2.13.6 to 2.13.10. [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.10) - [Version Diff](https://github.com/scala/scala/compare/v2.13.6...v2.13.10) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...

Documentation still says that there is an API for formatting in the best unit, via `DefaultFormater`. Yet, it appears that it was removed in the latest version. I couldn't find...

Quantity could have a method `toCoarsest` like the one in [Duration](https://www.scala-lang.org/api/current/scala/concurrent/duration/Duration.html#toCoarsest:scala.concurrent.duration.Duration). > Return duration which is equal to this duration but with a coarsest Unit, or self in case it...

enhancement

Updates [org.scala-lang:scala-library](https://github.com/scala/scala) from 2.12.15 to 2.12.17. [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.17) - [Version Diff](https://github.com/scala/scala/compare/v2.12.15...v2.12.17) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...

Updates [org.typelevel:sbt-typelevel-ci-release](https://github.com/typelevel/sbt-typelevel) from 0.4.17 to 0.4.18. [GitHub Release Notes](https://github.com/typelevel/sbt-typelevel/releases/tag/v0.4.18) - [Version Diff](https://github.com/typelevel/sbt-typelevel/compare/v0.4.17...v0.4.18) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...

Quantity could have the following methods: ```scala import java.text.DecimalFormat def toString(decimalFormat: DecimalFormat, uom: UnitOfMeasure[A]): String = s"${decimalFormat.format(to(uom))} ${uom.symbol}" def toString(decimalFormat: DecimalFormat): String = toString(decimalFormat, unit) ``` DecimalFormat is locale aware...

enhancement