mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Round capacity percentage to 1 decimal place
This commit is contained in:
parent
3d12bf3728
commit
1f1d777a4a
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ d3.json( numbers_url,
|
||||||
stats_vmpooler_numbers__svg[ 'capacity' ]
|
stats_vmpooler_numbers__svg[ 'capacity' ]
|
||||||
.append( 'text' )
|
.append( 'text' )
|
||||||
.text(
|
.text(
|
||||||
( stats_vmpooler_numbers__data__live[ 'capacity_percent' ] )
|
( stats_vmpooler_numbers__data__live[ 'capacity_percent' ].toFixed(1) )
|
||||||
)
|
)
|
||||||
.attr( {
|
.attr( {
|
||||||
'text-anchor': 'end',
|
'text-anchor': 'end',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue