<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Data format help in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Data-format-help/m-p/45116#M25790</link>
    <description>&lt;P&gt;JMP &lt;A href="http://www.jmp.com/support/help/13-2/Numeric_Formats.shtml#425352" target="_self"&gt;Numeric Formats&lt;/A&gt; 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 &amp;gt; Run Script', then look at the formula columns:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;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 ) )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Sep 2017 08:23:31 GMT</pubDate>
    <dc:creator>ian_jmp</dc:creator>
    <dc:date>2017-09-26T08:23:31Z</dc:date>
    <item>
      <title>Data format help</title>
      <link>https://community.jmp.com/t5/Discussions/Data-format-help/m-p/45096#M25772</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I copy the column and use a formula to round everything then paste it and delete the orginal column?&lt;/P&gt;&lt;P&gt;any advise would be appreiaceted.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 357px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7770i4ACF54029B66EFBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 2.PNG" style="width: 313px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7771i212E1C1E50176C45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 2.PNG" alt="Capture 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 21:44:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-format-help/m-p/45096#M25772</guid>
      <dc:creator>chris_G_ttu</dc:creator>
      <dc:date>2017-09-25T21:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data format help</title>
      <link>https://community.jmp.com/t5/Discussions/Data-format-help/m-p/45116#M25790</link>
      <description>&lt;P&gt;JMP &lt;A href="http://www.jmp.com/support/help/13-2/Numeric_Formats.shtml#425352" target="_self"&gt;Numeric Formats&lt;/A&gt; 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 &amp;gt; Run Script', then look at the formula columns:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;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 ) )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Sep 2017 08:23:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-format-help/m-p/45116#M25790</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2017-09-26T08:23:31Z</dc:date>
    </item>
  </channel>
</rss>

