cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
chris_G_ttu
Level II

Data format help

Hi

I am trying to round a number but having some trouble. For example. I have the number .915 and .915000021 I have tried to use percision and Fixed Dec to round .915000021 to .915. However, after I use precision or Fixed Dec the .915000021is unchanged. Any ideas how I can change this? Also there is multiple instances like this, so editing the column would be the best solution for me.

 

Could I copy the column and use a formula to round everything then paste it and delete the orginal column?

any advise would be appreiaceted.

Capture.PNG

Capture 2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Level X

Re: Data format help

JMP Numeric Formats change the way data appears, but not the underlying value. Probably you need the 'Round()' function, but as always, you should be cautious in modifying the data values themselves. Copy and paste the code below into a script window, do 'Edit > Run Script', then look at the formula columns:

New Table( "Formats and Rounding",
	Add Rows( 10 ),
	New Column( "Precise Value",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Formula( Random Normal() )
	),
	New Column( "Precise Value with 'Fixed Dec' Format",
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 12, 2 ),
		Formula( :Precise Value )
	),
	New Column( "Precise Value with 'Precision' Format",
		Numeric,
		"Continuous",
		Format( "Precision", 12, 2 ),
		Formula( :Precise Value )
	),
	New Column( "Precise Value Rounded to 2 Decimal Places",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Formula( Round( :Precise Value, 2 ) )
	)
)

View solution in original post

1 REPLY 1
ian_jmp
Level X

Re: Data format help

JMP Numeric Formats change the way data appears, but not the underlying value. Probably you need the 'Round()' function, but as always, you should be cautious in modifying the data values themselves. Copy and paste the code below into a script window, do 'Edit > Run Script', then look at the formula columns:

New Table( "Formats and Rounding",
	Add Rows( 10 ),
	New Column( "Precise Value",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Formula( Random Normal() )
	),
	New Column( "Precise Value with 'Fixed Dec' Format",
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 12, 2 ),
		Formula( :Precise Value )
	),
	New Column( "Precise Value with 'Precision' Format",
		Numeric,
		"Continuous",
		Format( "Precision", 12, 2 ),
		Formula( :Precise Value )
	),
	New Column( "Precise Value Rounded to 2 Decimal Places",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Formula( Round( :Precise Value, 2 ) )
	)
)

Recommended Articles