No announcements
Found 4099379 threads
-
1 Votes
How can i truncate an integer value with the string.Format or toString() method
I don't think you can do that with placholders as usually you want to show the real value (if numeric you can divide the value or tell ...Answered | 8 Replies | 5047 Views | Created by HealthyBeerDude - Wednesday, June 27, 2012 4:17 PM | Last reply by Patrice Scribe - Thursday, June 28, 2012 10:52 AM -
0 Votes
How can I round this Convert.ToInt64 number that will be returned
To avoid losing any precision, I suggest you convert your code to this (adding 'm' as a suffix notifies that you are trying to divide by a decimal value ...Answered | 7 Replies | 2114 Views | Created by netman06 - Friday, June 22, 2012 3:45 PM | Last reply by Kiran Kumar Dasika - Friday, June 22, 2012 7:58 PM -
0 Votes
Rounding a value
It looks like the hours column is an INT and when you divide it by 60 , you get Int value , i.e the reason the final value was rounded to 4.Answered | 5 Replies | 1633 Views | Created by lrj1985 - Monday, July 22, 2013 7:59 AM | Last reply by Jingyang Li - Monday, July 22, 2013 1:52 PM -
8 Votes
how can I set a value for an unlimited array of integer?
As mentioned arrays must have a size (or just be null references, not pointing at any array object).Answered | 4 Replies | 4326 Views | Created by Navid Asadi - Saturday, September 3, 2011 11:37 AM | Last reply by jo0ls - Saturday, September 3, 2011 1:25 PM -
4 Votes
How can i convert the String in to integer value for wp8.
Hi Sir/ Mam, How can i convert the String in to integer value for wp8.Answered | 6 Replies | 1465 Views | Created by SrinivaaS Birlangi - Saturday, February 14, 2015 12:10 PM | Last reply by mSpot Inc - Monday, February 23, 2015 8:18 AM -
0 Votes
Question on returning an integer from a round result
Can you see the value (without casting) in C#?Answered | 4 Replies | 4350 Views | Created by davestech - Thursday, January 20, 2011 10:16 PM | Last reply by Naomi N - Tuesday, February 1, 2011 2:53 PM -
0 Votes
How to convert Double to Int32 without rounding?
I can use the % thing to get my remainder, I just need a whole number representing the rest.Answered | 9 Replies | 32799 Views | Created by cds333 - Tuesday, June 10, 2008 6:26 PM | Last reply by Darren Oster - Wednesday, June 11, 2008 1:05 AM -
3 Votes
How can I show HTML in a MessageBox???
You can use web browser control to render html.Answered | 3 Replies | 8512 Views | Created by Seral1969 - Thursday, November 17, 2011 1:03 AM | Last reply by Hasibul Haque - Thursday, November 17, 2011 10:10 AM -
1 Votes
Rounding an integer number to lowest nearest number
You can do that with the round function by using the third parameter of the round function to force it to truncate (round down).Answered | 5 Replies | 1857 Views | Created by Lakshmi m - Tuesday, October 8, 2013 6:58 AM | Last reply by Tom Cooper - Tuesday, October 8, 2013 1:53 PM -
1 Votes
c# rounded integer to 0 and 5
My bad, don't know why I thought I needed the truncate, I'm about to round...Answered | 14 Replies | 3067 Views | Created by melvintcs - Wednesday, August 10, 2011 9:49 AM | Last reply by Andreas Johansson - Wednesday, August 10, 2011 2:09 PM -
1 Votes
CAST as DateTime is Rounding - how can I stop the rounding
To add to Jingyangs post: datetime has a resolution of 3.33 millisecond, so you cannot represent any millisecond value in datetime. datetime2(3) as a resolution of one millissecond ...Answered | 2 Replies | 613 Views | Created by TheBrenda - Wednesday, June 13, 2018 8:19 PM | Last reply by Erland Sommarskog - Wednesday, June 13, 2018 9:45 PM -
0 Votes
how can I show the integer part of the value without any rounding in html
User-821857111 posted <div>Max: @(Math.Floor(Model.consolidated_sales[i].max_sales))</div> <div>Min: ...Answered | 1 Replies | 93 Views | Created by Anonymous - Thursday, July 16, 2020 7:09 AM | Last reply by Anonymous - Thursday, July 16, 2020 7:13 AM -
0 Votes
How to round a MDX value
Round(([Variable VR].Answered | 3 Replies | 21403 Views | Created by lucki2005 - Thursday, June 23, 2011 3:44 AM | Last reply by Darren Gosbell - Thursday, June 23, 2011 8:00 AM -
0 Votes
Accurate Integer part from double number
Sorry, I want it truncated.Answered | 5 Replies | 19171 Views | Created by Julio R. García B_ - Friday, May 28, 2010 4:53 PM | Last reply by C-Gonzalez - Friday, May 28, 2010 6:20 PM -
0 Votes
How to calculate round off value in vb .net
hi, how foolish i am.Answered | 5 Replies | 5254 Views | Created by Discovery1 - Tuesday, January 18, 2011 8:05 AM | Last reply by Capoor,Tushar - MVP - Wednesday, January 19, 2011 9:11 AM -
4 Votes
Round off Values
http://zsvipullo.blogspot.it/2012/08/roundfloor-roundceiling_29.html?Answered | 4 Replies | 2104 Views | Created by TMKrishnan - Thursday, September 20, 2012 6:45 AM | Last reply by Sergio Russo - Thursday, September 20, 2012 4:39 PM -
2 Votes
how formatting a number without rounding
the last 2 question: where i can add a petition for the new format?Answered | 6 Replies | 34246 Views | Created by developer00 - Wednesday, July 9, 2008 12:54 PM | Last reply by KAmbing - Wednesday, January 2, 2013 7:50 AM -
0 Votes
VBA Rounding?
= 0.5, Factor * Sgn(Value), 0) ElseIf UpDown > 0 Then 'Round up Multiple = G * Factor + IIf(R > 0, Factor * Sgn(Value), 0) Else ...Answered | 3 Replies | 831 Views | Created by 6da4 - Monday, July 31, 2017 12:05 PM | Last reply by 6da4 - Thursday, August 3, 2017 11:30 AM -
1 Votes
round up and round down and round function
for future purposes, i do it like this: var_a = Round(var_a +.5,0) to round up var_a = ...Answered | 10 Replies | 14178 Views | Created by Alaa Mukhtar - Thursday, April 12, 2012 11:18 AM | Last reply by Steven Meyerson - Thursday, January 11, 2018 3:11 PM -
0 Votes
Dynamic SQL and integer values
Reading the precedence chart, we see that integer has a higher precedence than any string type so the database engine attempts to convert the string 'select ...Answered | 3 Replies | 1143 Views | Created by BrBa - Monday, May 6, 2019 10:00 PM | Last reply by Guoxiong Yuan - Tuesday, May 7, 2019 2:02 AM - Items 1 to 20 of 4099379 Next ›
No announcements