Questions tagged [truncated]

Truncation is the term for limiting the number of digits right of the decimal point, by discarding the least significant ones.

256 questions
0
votes
1 answer

websocket send truncated string on Azure (app service)?

I am doing a simple client-server application, where the client will send a command through WebSocket connection to the server and the server will respond base on client's command and return a string to the client. I have tested the code to run in…
user976385
  • 117
  • 1
  • 10
0
votes
0 answers

Random ajax loaded gallery thumbnails cut off in height (not fully displayed)?

I have made a photo gallery system where upon a button click the thumbnails of the gallery are loaded from a folder via an ajaxFunction call. You click thumbs and the full image size version opens. Pretty common setup. The average size of my…
DC1
  • 371
  • 1
  • 4
  • 15
0
votes
1 answer

R-plotting a PDF of a truncated normal

Any idea how can I plot this truncated normal PDF in R. The mean is 0 with variance 1 so the PDF is: exp((-x^2)/2)) * I{x>=2} where I is an indicator function. Any help will be appreciated. Thanks.
0
votes
1 answer

Truncated Double value(php)

i am working on how to update image with angular and send http request for the back office (PHP), so everything work fine , it delete the old file and insert the new one but the problem is this when come to insert the data into the database it show…
0
votes
0 answers

How to prevent Floating Point Excel Data loaded with SQL to be truncated

When I load floating point data from Excel in my C# software using SQL the data ends up being truncated. For example, instead of 0,054034 I end up with 0,054. The relevant part of my code is: DataTable part8 = new DataTable(); part8 =…
moriturus
  • 31
  • 3
0
votes
2 answers

My tweets from Wordpress are truncated

My problem is that my tweets from Wordpress are truncated and ended with three dots in Twitter. I use "Twitter Auto Publish" plugin on my website. I have also changed recently my Wordpress theme :). I added also the following code to functions.php…
Velans
  • 1
0
votes
2 answers

Truncated incorrect integer value MySQL

I have a table ABC that has many columns, two of which are: ID - VARCHAR(10) and ROLE VARCHAR(10). Now I have been trying to update the column ROLE using the ID and this is the query: UPDATE TABLE ABC SET ROLE='READ_ONLY' WHERE …
0
votes
1 answer

form.submit() truncating string with '?'

I have a JavaScript function : function post(aAction) { var form = document.createElement("form"); form.action=aAction; document.body.appendChild(form); form.submit(); alert(form.action); } ( I'm an experienced developer but not…
Vector
  • 10,879
  • 12
  • 61
  • 101
0
votes
2 answers

Is there any control for achieving truncate the label & show the full text when click the arrow

I have developed the xamarin forms project. I need to truncate the text as default then show the remaining text once the button clicked. Again the text need to be truncated when click the button. It is like "See more" & "See less" functionality.…
0
votes
0 answers

Read csv to include all the information in columns with a lot of text

I have a csv file which has a lot of text in one of the columns and I when I read it into R, the full text is not present in the column. How can I read a csv file and preserve all of the information in the text column? Here's an example of the…
pd441
  • 2,644
  • 9
  • 30
  • 41
0
votes
1 answer

Truncated DNS PTR query response in Netty 4.1.13.Final

I'm using Netty to do forward and reverse lookups and it's working well. One thing I've run into though when doing a PTR lookup of an hp.com IP address (15.73.104.147) is that a large result set is truncated. When using dig -x 15.73.104.147, I can…
0
votes
3 answers

Getting PHP code to recognize special characters

I have this text simulator that allows the visitor to choose their specific desired font and the number of lines they desire. This functionality would be similar to previewing on ThingsRemembered.com so you can see what the item looks like before…
bbcompent1
  • 494
  • 1
  • 10
  • 25
0
votes
1 answer

Avoid truncation using mongo.find.all() with rmongodb in R

I want to use mongo.find.all() to get all the records in one collection. However, I find certain fields in the results are truncated. Something like the following, ..... $onefiled [1] xxxxxxxx... ...... I wonder how I can avoid this…
Ding Li
  • 673
  • 1
  • 7
  • 19
0
votes
1 answer

Why is this program truncating numbers?

So, i was planning to give a little introduction on programming in C to my gf, and this problem showed up while i was writing one of the programs for it. Here is the program: #include float sum(x,y) { float u = x+y; …
embedded_dev
  • 195
  • 9
0
votes
1 answer

Visual Basic connected to sql database. Insert statement gives me an error of "string or binary data would be truncated."

[this is my codes for visual basic] Dim Command As New SqlCommand Command.Connection = CN Dim ms As New MemoryStream ConON() Command.CommandText = "Insert into tbl_profile(Lastname,Firstname,Gender,Birthdate,ContactNum," & _ …
Smilessss
  • 1
  • 1